home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_qt3.idb / usr / freeware / Qt / examples / sound / Makefile.z / Makefile
Makefile  |  2002-04-08  |  7KB  |  243 lines

  1. #############################################################################
  2. # Makefile for building: sound
  3. # Generated by qmake (1.02a) on: Fri Apr  5 10:59:05 2002
  4. # Project:  sound.pro
  5. # Template: app
  6. # Command: $(QMAKE) sound.pro
  7. #############################################################################
  8.  
  9. ####### Compiler, tools and options
  10.  
  11. CC       = cc
  12. CXX      = CC
  13. LEX      = flex
  14. YACC     = yacc
  15. CFLAGS   = -n32 -woff 1021,1209,1233,1314,1355,1375,1506 -fullwarn -O2 -OPT:Olimit=3000  -DQT_NO_DEBUG -DQT_SHARED
  16. CXXFLAGS = -n32 -LANG:ansi-for-init-scope=ON:bool=ON -woff 1021,1209,1233,1314,1355,1375,1506,1681,1682,3496 -fullwarn -O2 -OPT:Olimit=3000  -DQT_NO_DEBUG -DQT_SHARED
  17. LEXFLAGS = 
  18. YACCFLAGS= -d
  19. INCPATH  = -I$(QTDIR)/include -I.moc/release/ -I$(QTDIR)/mkspecs/irix-n32
  20. LINK     = CC
  21. LFLAGS   = -n32
  22. LIBS     = $(SUBLIBS) -Wl,-rpath,/xlv1/freeware/2002.May/qt/3.0.3/src.diffbuild/qt-x11-free-3.0.3/lib -L/xlv1/freeware/2002.May/qt/3.0.3/src.diffbuild/qt-x11-free-3.0.3/lib -lqt -lGLU -lGL -lXmu -lm -lICE -lSM -lXext -lX11 -lm
  23. AR       = CC -ar -o
  24. RANLIB   = 
  25. MOC      = $(QTDIR)/bin/moc
  26. UIC      = $(QTDIR)/bin/uic
  27. QMAKE    = qmake
  28. TAR      = tar -cf
  29. GZIP     = gzip -9f
  30. COPY     = cp -f
  31. COPY_FILE= $(COPY) -p
  32. COPY_DIR = $(COPY) -pR
  33. DEL_FILE = rm -f
  34. DEL_DIR  = rmdir
  35. MOVE     = mv
  36.  
  37. ####### Output directory
  38.  
  39. OBJECTS_DIR = .obj/release/
  40.  
  41. ####### Files
  42.  
  43. HEADERS = sound.h
  44. SOURCES = sound.cpp
  45. OBJECTS = .obj/release/sound.o
  46. FORMS = 
  47. UICDECLS = 
  48. UICIMPLS = 
  49. SRCMOC   = .moc/release/moc_sound.cpp
  50. OBJMOC = .obj/release/moc_sound.o
  51. DIST       = 
  52. QMAKE_TARGET = sound
  53. DESTDIR  = 
  54. TARGET   = sound
  55.  
  56. first: all
  57. ####### Implicit rules
  58.  
  59. .SUFFIXES: .c .cpp .cc .cxx .C
  60.  
  61. .cpp.o:
  62.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  63.  
  64. .cc.o:
  65.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  66.  
  67. .cxx.o:
  68.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  69.  
  70. .C.o:
  71.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  72.  
  73. .c.o:
  74.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  75.  
  76. ####### Build rules
  77.  
  78. all: Makefile $(TARGET)
  79.  
  80. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  81.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  82.  
  83. mocables: $(SRCMOC)
  84.  
  85. $(MOC): 
  86.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  87.  
  88. Makefile: sound.pro ../../.qmake.cache $(QTDIR)/mkspecs/irix-n32/qmake.conf ../../lib/libqt.prl
  89.     $(QMAKE) sound.pro
  90. qmake: 
  91.     @$(QMAKE) sound.pro
  92.  
  93. dist: 
  94.     @mkdir -p .obj/release/sound && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/sound/ && ( cd `dirname .obj/release/sound` && $(TAR) sound.tar sound && $(GZIP) sound.tar ) && mv `dirname .obj/release/sound`/sound.tar.gz . && rm -rf .obj/release/sound
  95.  
  96. mocclean:
  97.     -rm -f $(OBJMOC)
  98.     -rm -f $(SRCMOC)
  99.  
  100. uiclean:
  101.  
  102. clean: mocclean
  103.     -rm -f $(OBJECTS) 
  104.     -rm -f -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
  105.     -rm -f *~ core *.core
  106.  
  107.  
  108. ####### Sub-libraries
  109.  
  110. distclean: clean
  111.     -rm -f $(TARGET) $(TARGET)
  112.     
  113.  
  114. FORCE:
  115.  
  116. ####### Compile
  117.  
  118. .obj/release/sound.o: sound.cpp sound.h \
  119.         ../../include/qapplication.h \
  120.         ../../include/qmessagebox.h \
  121.         ../../include/qmenubar.h \
  122.         ../../include/qsound.h \
  123.         ../../include/qmainwindow.h \
  124.         ../../include/qobject.h \
  125.         ../../include/qobjectdefs.h \
  126.         ../../include/qwindowdefs.h \
  127.         ../../include/qstring.h \
  128.         ../../include/qevent.h \
  129.         ../../include/qnamespace.h \
  130.         ../../include/qglobal.h \
  131.         ../../include/qconfig-minimal.h \
  132.         ../../include/qconfig-small.h \
  133.         ../../include/qconfig-medium.h \
  134.         ../../include/qconfig-large.h \
  135.         ../../include/qconfig.h \
  136.         ../../include/qmodules.h \
  137.         ../../include/qfeatures.h \
  138.         ../../include/qcstring.h \
  139.         ../../include/qmemarray.h \
  140.         ../../include/qgarray.h \
  141.         ../../include/qshared.h \
  142.         ../../include/qregion.h \
  143.         ../../include/qmime.h \
  144.         ../../include/qpair.h \
  145.         ../../include/qrect.h \
  146.         ../../include/qsize.h \
  147.         ../../include/qpoint.h \
  148.         ../../include/qmap.h \
  149.         ../../include/qptrlist.h \
  150.         ../../include/qdatastream.h \
  151.         ../../include/qtl.h \
  152.         ../../include/qiodevice.h \
  153.         ../../include/qtextstream.h \
  154.         ../../include/qglist.h \
  155.         ../../include/qptrcollection.h \
  156.         ../../include/qwidget.h \
  157.         ../../include/qtoolbar.h \
  158.         ../../include/qpaintdevice.h \
  159.         ../../include/qpalette.h \
  160.         ../../include/qfont.h \
  161.         ../../include/qfontmetrics.h \
  162.         ../../include/qfontinfo.h \
  163.         ../../include/qsizepolicy.h \
  164.         ../../include/qcolor.h \
  165.         ../../include/qbrush.h \
  166.         ../../include/qdockwindow.h \
  167.         ../../include/qframe.h \
  168.         ../../include/qdesktopwidget.h \
  169.         ../../include/qasciidict.h \
  170.         ../../include/qtranslator.h \
  171.         ../../include/qstrlist.h \
  172.         ../../include/qstringlist.h \
  173.         ../../include/quuid.h \
  174.         ../../include/qgdict.h \
  175.         ../../include/qvaluelist.h \
  176.         ../../include/qdialog.h \
  177.         ../../include/qpopupmenu.h \
  178.         ../../include/qmenudata.h \
  179.         ../../include/qiconset.h \
  180.         ../../include/qkeysequence.h \
  181.         ../../include/qsignal.h \
  182.         ../../include/qpixmap.h \
  183.         ../../include/qvariant.h
  184.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/sound.o sound.cpp
  185.  
  186. .obj/release/moc_sound.o: .moc/release/moc_sound.cpp sound.h ../../include/qsound.h \
  187.         ../../include/qmainwindow.h \
  188.         ../../include/qobject.h \
  189.         ../../include/qobjectdefs.h \
  190.         ../../include/qwindowdefs.h \
  191.         ../../include/qstring.h \
  192.         ../../include/qevent.h \
  193.         ../../include/qnamespace.h \
  194.         ../../include/qglobal.h \
  195.         ../../include/qconfig-minimal.h \
  196.         ../../include/qconfig-small.h \
  197.         ../../include/qconfig-medium.h \
  198.         ../../include/qconfig-large.h \
  199.         ../../include/qconfig.h \
  200.         ../../include/qmodules.h \
  201.         ../../include/qfeatures.h \
  202.         ../../include/qcstring.h \
  203.         ../../include/qmemarray.h \
  204.         ../../include/qgarray.h \
  205.         ../../include/qshared.h \
  206.         ../../include/qregion.h \
  207.         ../../include/qmime.h \
  208.         ../../include/qpair.h \
  209.         ../../include/qrect.h \
  210.         ../../include/qsize.h \
  211.         ../../include/qpoint.h \
  212.         ../../include/qmap.h \
  213.         ../../include/qptrlist.h \
  214.         ../../include/qdatastream.h \
  215.         ../../include/qtl.h \
  216.         ../../include/qiodevice.h \
  217.         ../../include/qtextstream.h \
  218.         ../../include/qglist.h \
  219.         ../../include/qptrcollection.h \
  220.         ../../include/qwidget.h \
  221.         ../../include/qtoolbar.h \
  222.         ../../include/qpaintdevice.h \
  223.         ../../include/qpalette.h \
  224.         ../../include/qfont.h \
  225.         ../../include/qfontmetrics.h \
  226.         ../../include/qfontinfo.h \
  227.         ../../include/qsizepolicy.h \
  228.         ../../include/qcolor.h \
  229.         ../../include/qbrush.h \
  230.         ../../include/qdockwindow.h \
  231.         ../../include/qframe.h
  232.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_sound.o .moc/release/moc_sound.cpp
  233.  
  234. .moc/release/moc_sound.cpp: $(MOC) sound.h
  235.     $(MOC) sound.h -o .moc/release/moc_sound.cpp
  236.  
  237. ####### Install
  238.  
  239. install: all 
  240.  
  241. uninstall: 
  242.  
  243.